package net.yvesd.cellhunter.model.coverage;

import java.util.HashSet;
import java.util.Set;

import net.yvesd.cellhunter.model.Cell;

public class CellCoverage {
	Cell antenna;

	Set<SignalStrengthLocation> signalStrenghLocations;

	public CellCoverage(Cell antenna) {
		this.antenna = antenna;
		signalStrenghLocations = new HashSet<SignalStrengthLocation>();
	}

	public Cell getAntenna() {
		return antenna;
	}

	public void setAntenna(Cell antenna) {
		this.antenna = antenna;
	}

	public Set<SignalStrengthLocation> getSignalStrenghLocations() {
		return signalStrenghLocations;
	}

	public void setSignalStrenghLocations(
			Set<SignalStrengthLocation> signalStrenghLocations) {
		this.signalStrenghLocations = signalStrenghLocations;
	}

	public int getNumberOfMesurements() {
		return signalStrenghLocations.size();
	}
}
